// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.3.0

package CustomerRelationsManagement;

/**
 *
 * @author Administrator
 */
public interface _orderOperationsNC
{
    /**
     *
     * @return
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    int getId()
        throws RecordNotCommitted;

    /**
     *
     * @throws CustomerRelationsManagement.DBError
     */
    void save()
        throws DBError;

    /**
     *
     * @throws CustomerRelationsManagement.DBError
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    void delete()
        throws DBError,
               RecordNotCommitted;

    /**
     *
     * @return
     */
    int getCustomer();

    /**
     *
     * @param CustomerId
     */
    void setCustomer(int CustomerId);

    /**
     *
     * @return
     */
    String getSrc();

    /**
     *
     * @return
     */
    String getDst();

    /**
     *
     * @param src
     */
    void setSrc(String src);

    /**
     *
     * @param dst
     */
    void setDst(String dst);

    /**
     *
     * @return
     */
    float getWeight();

    /**
     *
     * @param weight
     */
    void setWeight(float weight);

    /**
     *
     * @return
     */
    datetime getDeadline();

    /**
     *
     * @param deadline
     */
    void setDeadline(datetime deadline);

    /**
     *
     * @return
     */
    OrderStatus getStatus();

    /**
     *
     * @param status
     */
    void setStatus(OrderStatus status);
}
